package com.spzx.product.api.service;

import com.spzx.common.core.domain.R;
import com.spzx.product.api.domain.vo.CategoryVo;
import org.springframework.stereotype.Component;

import java.util.List;


public class RemoteCategoryFallback implements RemoteCategoryService {

    @Override
    public R<List<CategoryVo>> getFirstLeveCategory(Long parentId, String source) {
        return R.fail(null,"远程调用商品微服务获取分类信息失败");
    }

    @Override
    public R<List<CategoryVo>> getCategoryTreeList(String source) {
        return R.fail(null,"远程调用商品微服务获取分类树失败");
    }


}
